package com.elife.core;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.opensymphony.xwork2.util.LocalizedTextUtil;

public class GlobalMessageListener implements ServletContextListener {

	private static final String DEFAULT_RESOURCE = "global";
	
	public void contextInitialized(ServletContextEvent sce) {
		LocalizedTextUtil.addDefaultResourceBundle(DEFAULT_RESOURCE);
	}

	public void contextDestroyed(ServletContextEvent sce) {
		// Nothing to do 	
	}

}
